import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import ContractEditing from './contract/contractEditing';
import ContractUI from './contract/contractUI';

export default class Contract extends Plugin {
    /**
     * 定义插件名称
     */
    static get pluginName() {
        return 'Contract';
    }

    /**
     * 实现插件的关键接口
     * RelFileSelEditing 主要实现功能以及注册command
     */
    static get requires() {
        return [ContractEditing, ContractUI];
    }
}